emoji = {p:{},f:{}};
emoji.f.init = function(){};
emoji.f.event = function(tar){
	 
};
emoji.p.$tar = false;
emoji.f.showDialog = function(tar){
	emoji.p.$tar = $(tar).parent().find('.menu_title');
	var action = 'wechat/Wechat/emoji'
	fdialog.open(action,{title:"选择表情",width:780,height:500,
		buttons:{'关闭':fdialog.close}
	});
};

emoji.f.selectIcon = function(tar){
	var icon = jQuery(tar).find('> span').html();
	icon = emoji.p.$tar.val()+'::'+icon+'::';
	emoji.p.$tar.val(icon);
	fdialog.close();
};
